from sqlalchemy import Boolean, Column, ForeignKey, Integer, String
from sqlalchemy.orm import relationship
from uuid import UUID, uuid4
from datetime import datetime
from models.base import Base
from models.flow_model import FlowSchema


class FlowVersion(FlowSchema):
    __tablename__ = "flow_version"

    flow_id = Column(String, ForeignKey("flows.id"), nullable=False)
    version = Column(String)
    version_description = Column(String)
